load("@rules_cc//cc:defs.bzl", "cc_library")

package(default_visibility = ["//visibility:public"])

cc_library(
    name = "foxglove_websocket",
    srcs = glob(["cpp/foxglove-websocket/src/*.cpp"]),
    hdrs = glob(["cpp/foxglove-websocket/include/foxglove/websocket/*.hpp"]),
    includes = ["cpp/foxglove-websocket/include"],
    deps = [
        "@boringssl//:ssl",
        "@nlohmann_json//:json",
        "@websocketpp",
    ],
)
